package com.dreamwhale.machinery.dao;

import com.dreamwhale.machinery.entity.Lease;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dreamwhale.machinery.logistics.entity.TransportInfo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 去租赁 Mapper 接口
 * </p>
 *
 * @author Author
 * @since 2020-06-06
 */
public interface LeaseMapper extends BaseMapper<Lease> {

    Lease getHot();

    /**
     * 查询我发布的租赁详情
     *
     * @param infoId
     * @return
     */
    Lease selectLeaseByLeadeIds(@Param("infoId") Integer infoId);
}
